package com.woniuxy.carlife.carlifeorderweb.mapper;

import com.woniuxy.carlife.carlifeorderweb.domain.AfterSell;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
*@ClassName:AfterSellMapper
*@Description:
*@author qk
*@date 2021/4/7 20:09
**/
public interface AfterSellMapper extends BaseMapper<AfterSell> {
    @Select("SELECT af.* FROM t_order o INNER JOIN t_after_sell af ON o.`id`=af.`oid` WHERE o.`sid` =#{sid}")
    public List<AfterSell> getAfterSellBySid(int sid);
}
